package com.c8a.config.conf;

import com.jcraft.jsch.JSch;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: c8a
 * @Date: 2022-04-17 23:09
 * @Email: 1912327276@qq.com
 */

@Configuration
public class JschConfig {
    //Shim to fix the way jGit configures JSch
    static {
        JSch.setConfig("signature.rsa", "com.jcraft.jsch.jce.SignatureRSA");
    }

}
